﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;

namespace ForceSystem.Untangler
{
    public class UntangledTypeCollection : Collection<UntangledType>
    {
        public UntangledTypeCollection()
        {
        }

        public UntangledTypeCollection(IList<UntangledType> types)
            : base(types)
        {
        }

        public static UntangledTypeCollection FromEnumeable(IEnumerable<UntangledType> types)
        {
            return new UntangledTypeCollection(types.ToList());
        }

    }
}
